package com.learnJava.capsulation;

public class Test {
    public static void main(String[] args) {
        // 测试封装
        Student s1 = new Student();
        s1.setChinese(97);
        s1.setEnglish(98);

        System.out.println(s1.getChinese());
        System.out.println(s1.getEnglish());
    }
}
